getStrokeCap

abstract fun getStrokeCap(block: DesignBlock): StrokeCap

Deprecated

Use getStrokeStartCap and getStrokeEndCap instead.

Replace with

getStrokeStartCap(block)

Get the legacy single stroke cap of the given design block. Tracks the value last written via setStrokeCap or setStrokeStartCap; ignores changes made via setStrokeEndCap.

Return

the stroke cap.

Parameters

block

the block whose stroke cap should be queried.